﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bovril.SmallWorld.Core
{
    internal class BoardBuilder
    {
        internal BoardRegion AddBoardRegion(String name, Terrain.Type terrain, bool isAtEdge)
        {
            return new BoardRegion(name, terrain, isAtEdge);
        }

        internal void ConnectBoardRegions(BoardRegion lhs, BoardRegion rhs)
        {
            lhs.AddAdjacentRegion(rhs);
            rhs.AddAdjacentRegion(lhs);
        }

        internal IBoard ToIBoard()
        {
            return new Board();
        }
    }
}
